using Volo.Abp.Domain;
using Volo.Abp.Modularity;
using Volo.Abp.BackgroundJobs;
using Volo.Abp.Caching;
using Volo.Abp.EventBus;
using Volo.Abp.Localization;
using TenantManagementService.Localization;

namespace TenantManagementService
{
    [DependsOn(
        typeof(AbpDddDomainModule),
        typeof(AbpCachingModule),
        typeof(AbpEventBusModule),
        typeof(TenantManagementServiceDomainSharedModule)
    )]
    public class TenantManagementServiceDomainModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpLocalizationOptions>(options =>
            {
                options.Resources
                    .Add<TenantManagementServiceResource>("en");
            });
        }
    }
}